home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / gfx / pbm / manuals.lha / netpbm / man / asciitopgm.man < prev    next >
Text File  |  1994-03-01  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      asciitopgm(1)       AMIGA (26 December 1994)        asciitopgm(1)
  5.  
  6.  
  7.  
  8.      NAME
  9.           asciitopgm - convert ASCII graphics into a portable graymap
  10.  
  11.      SYNOPSIS
  12.           asciitopgm [-d divisor] height width [asciifile]
  13.  
  14.      DESCRIPTION
  15.           Reads ASCII data as input.  Produces a portable graymap with
  16.           pixel values which are an approximation of the "brightness"
  17.           of the ASCII characters, assuming black-on-white printing.
  18.           In other words, a capital M is very dark, a period is ver
  19.           light, and a space is white.  Input lines which are fewer
  20.           than width characters are automatically padded with spaces.
  21.  
  22.           The divisor argument is a floating-point number by which the
  23.           output pixels are divided; the default value is 1.0.  This
  24.           can be used to adjust the brightness of the graymap:  for
  25.           example, if the image is too dim, reduce the divisor.
  26.  
  27.           In keeping with (I believe) Fortran line-printer
  28.           conventions, input lines beginning with a + (plus) character
  29.           are assumed to "overstrike" the previous line, allowing a
  30.           larger range of gray values.
  31.  
  32.           This tool contradicts the message in the pbmtoascii manual:
  33.           "Note that there is no asciitopbm tool - this transformation
  34.           is one-way."
  35.  
  36.      BUGS
  37.           The table of ASCII-to-grey values is subject to
  38.           interpretation, and, of course, depends on the typeface
  39.           intended for the input.
  40.  
  41.      SEE ALSO
  42.           pbmtoascii(1), pgm(5)
  43.  
  44.      AUTHOR
  45.           Wilson H. Bent. Jr. (whb@usc.edu)
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 3/1/94)
  64.  
  65.  
  66.  
  67.